package Month07.day28;

import java.util.ArrayList;
import java.util.List;

public class test3 {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>(List.of("马尔扎哈","尼古拉斯凯奇","张全蛋","张三丰","迪丽热巴"));
        list.stream().skip(2).filter(s -> s.length()<=4).distinct().forEach(s -> System.out.println(s));
    }
}
